<template>
	<view>

	</view>
</template>

<script setup lang="ts">
	import { onLoad } from '@dcloudio/uni-app';

	onLoad((option : any) => {
		let backDelta = 2;
		if (!uni.$utils.isEmpty(option)) {
			backDelta = option.backDelta || 2
		}
		uni.navigateBack({
			delta: backDelta,
			success() {
				setTimeout(() => {
					plus.screen.lockOrientation('portrait-primary');
				}, 100);
			},
		})

	})
</script>

<style lang="scss">
	page {
		background: transparent;
	}
</style>